/**
 * 
 */
package scriptrunner.execution;

import java.io.Serializable;

/**
 * @author Administrator
 * 
 */
public class EvalIntegerLiteralExpr extends EvaluateExpr implements
		Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3154054238270841531L;

	/**
	 * 
	 */
	public EvalIntegerLiteralExpr(String s) {
		int i = Integer.parseInt(s);
		o = new ValueIntegerObject(i);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * scriptrunner.execution.EvaluateExpr#CalculateResult(scriptrunner.execution
	 * .Session)
	 */
	@Override
	public ValueObject CalculateResult(Session se) throws ExecuteErrorException {
		return o;
	}

	protected ValueIntegerObject o;
}
